using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Text = TMPro.TMP_Text;

public class UIGainItemTip : MonoBehaviour {
	public Image iconImg;
	public Text nameText;
	public Text cntText;

	public void Render(Sprite sprite, string name, int cnt) {
		iconImg.sprite = sprite;
		nameText.text = name;
		cntText.text = $"x{cnt}";
	}
}
